﻿namespace Joy.Erp.BasicArchives.Core.Filters
{
    /// <summary>
    /// 过滤条件规则
    /// </summary>
    public class FilterRuleDto
    {
        /// <summary>
        /// 属性名称
        /// </summary>
        public string Property { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public FilterRuleOperate Operate { get; set; } = FilterRuleOperate.Equal;

        /// <summary>
        /// 属性值
        /// </summary>
        public object Value { get; set; }
    }
}
